home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
text
/
tex
/
Detex_2_4.lha
/
README.amiga
< prev
next >
Wrap
Text File
|
1993-01-02
|
2KB
|
51 lines
This is the Amiga port of the detex utility. I made some changes to
the lex source code in order to get the produced C source file through
the SAS/C version 6.1 compiler (it's a bit picky) --- mostly prototype
definitions. I used the freely distributable ``flex'' lex clone from
one of the fairly recent Fish disks.
I made some minimal changes to the Makefile; the default target (detex)
works if you have WShell and ARexx. I used the -8 option of flex in
order to provide support for ``foreign'' character sets.
Of course, most people won't have flex installed, so this archive also
includes the detex.c file. Don't try to maintain it, however :-) Also
an executable binary is included. To my knowledge, it doesn't have any
special requirements; it runs perfectly on my A3000. The port is
rather quick and dirty, so there might be some bugs creeping around,
though.
This directory contains the following files:
README - The original README file.
README.amiga - This file.
Makefile - makefile for generating detex on an Amiga with WShell and SAS/C (6.1).
SCOPTIONS - The options file for SAS/C.
detex.1l - troff source for the detex manual page.
Assuming you have the -man macros, use "make man-page" to
generate it.
detex.man - hand-detroffed version of the manual page.
detex.h - Various global definitions. These should be modified to suit
the local installation.
detex_protos.h - Prototypes.
detex.l - Lex and C source for the detex program.
detex.c - Flex'd C source.
detex - Executable Amiga binary.
states.sed - sed(1) script to munge the state names in detex.l so that
reasonable names can be used in the source without causing
lex(1) to overflow. (Unnecessary with flex, it seems).
Kari Sutela, University of Turku, 2.1.1993